<Project Sdk="Microsoft.NET.Sdk">
  <PropertyGroup>
    <TargetFrameworks>$(NetCoreAppCurrent);$(NetFrameworkMinimum)</TargetFrameworks>
    <JsonSerializerIsReflectionEnabledByDefault>true</JsonSerializerIsReflectionEnabledByDefault>
  </PropertyGroup>
  <ItemGroup>
    <Compile Include="TranscodingReadStreamTests.cs" />
    <Compile Include="TranscodingWriteStreamTests.cs" />
  </ItemGroup>
  <ItemGroup Condition="'$(TargetFrameworkIdentifier)' == '.NETFramework'">
    <Compile Include="..\..\src\System\ArraySegmentExtensions.netstandard.cs"
             Link="ProductionCode\System\ArraySegmentExtensions.netstandard.cs" />
  </ItemGroup>
  <ItemGroup>
    <Compile Include="..\..\src\System\Net\Http\Json\TranscodingReadStream.cs"
             Link="ProductionCode\System\Net\Http\Json\TranscodingReadStream.cs" />
    <Compile Include="..\..\src\System\Net\Http\Json\TranscodingWriteStream.cs"
             Link="ProductionCode\System\Net\Http\Json\TranscodingWriteStream.cs" />
  </ItemGroup>
  <ItemGroup Condition="'$(TargetFrameworkIdentifier)' == '.NETFramework'">
    <ProjectReference Include="..\..\src\System.Net.Http.Json.csproj" />
  </ItemGroup>
</Project>
